package com.rgs.se.design.bridge;


import com.rgs.se.design.bridge.memory.Memory8G;
import com.rgs.se.design.bridge.phone.PhoneHuawei;

/**
 * @author Ren Gaoshuai
 * @date 2021-07-17 20:09
 **/
public class TestMain {

    public static void main(String[] args) {
        PhoneHuawei phoneHuawei = new PhoneHuawei();
        phoneHuawei.setMemory(new Memory8G());
        phoneHuawei.buyPhone();
    }
}
